package com.tledu.oop4;

public class Person {
    private Pet pet;

    public Pet getPet() {
        return pet;
    }

    public void setPet(Pet pet) {
        this.pet = pet;
    }

    public void feedThePet() {
        pet.eat();
    }
}
